package com.thread.t3;

import com.design.singleton.Singleton1;

/**
 * @author zhengzihong
 * @version 1.0.0
 * @date 2018/9/25
 * @Description
 */
public class MyThread3 extends Thread {

    @Override
    public void run(){
//        Singleton singleton = Singleton.getInstance();
//        System.out.println("singleton.hashCode():"+singleton.hashCode());

        Singleton1 singleton1 = Singleton1.getInstance();
        System.out.println("singleton1.hashCode():"+singleton1.hashCode());

    }
}
